 ---------------------------------------------------------------------------------
  -- Design Name : Multiplexer 32b 2 to 1
  -- File Name   : GenMux32_2.vhd
  -- Function    : Checks for branch operations
  -- Authors     : Mirko Francuski  2006/0225
  --               Milos Mihajlovic 2006/0039
  -- School      : University of Belgrade
  --               School for Electrical Engineering
  --               Department for Computer Engineering and Information Theory
  -- Subject     : VLSI Computer Systems
---------------------------------------------------------------------------------

library ieee;

use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use work.UserPkg.all;

entity GenMux32_2 is
  port (
    in1: in word32;
    in2: in word32;
    sel: in std_logic;
    muxOut: out word32
  );
end GenMux32_2;

architecture behavioral of GenMux32_2 is
begin

  muxOut <= in1 when sel = '0' else 
            in2;
			
end architecture;